vxWeb's implementation of CGI is slightly different from the standard interface. Windows CE does not
support standard input/output; therefore vxWeb passes an environment file name to the CGI program. This file
contains the environment data, an optional content file name (VX_CONTENT_FILE) and an output file name (VX_OUTPUT_FILE).
The data in VX_OUTPUT_FILE is sent to the browser.
The following environment data is passed:
EnvironmentName1=data1
Each environment name=data pair in the file is separated by a NULL. If the environment has no
data then there will be no equal sign (=). Example:
GATEWAY_INTERFACE=CGI/1.1 NULL VX_CONTENT_FILE NULL SERVER_PROTOCOL=HTTP/1.1 NULL ...
See CgiApp.cpp for an example of a CGI program.